package com.security.dataprocess.model;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 仓库基本信息表 
 * </p>
 *
 * @author H
 * @since 2022-12-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_t_warehouse_draft")
@ApiModel(value="BaseTWarehouseDraft对象", description="仓库基本信息表 ")
public class BaseTWarehouseDraft implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "所属单位")
    private String orgCode;

    @ApiModelProperty(value = "所属危险源ID 关联 base_t_danger 表主键")
    private Long dangerId;

    @ApiModelProperty(value = "仓库编号")
    private String warehouseNo;

    @ApiModelProperty(value = "仓库名称")
    private String warehouseName;

    @ApiModelProperty(value = "火灾危险性编码")
    private String fireHazardCode;

    @ApiModelProperty(value = "所在区域")
    private String region;

    @ApiModelProperty(value = "层数")
    private Integer floorNum;

    @ApiModelProperty(value = "仓库结构")
    private String warehouseStructureCode;

    @ApiModelProperty(value = "占地面积")
    private BigDecimal areaCovered;

    @ApiModelProperty(value = "占地面积单位")
    private String areaCoveredUnit;

    @ApiModelProperty(value = "投产日期")
    private LocalDate productionDate;

    @ApiModelProperty(value = "风险等级编码")
    private String riskRatingCode;

    @ApiModelProperty(value = "仓库用途类型编码")
    private String useTypeCode;

    @ApiModelProperty(value = "运行状态【0:停用，1:运行】")
    private Integer runningStatus;

    @ApiModelProperty(value = "是否评估固有风险等级【0:否，1:是】")
    private Boolean ratingStatus;

    @ApiModelProperty(value = "审核状态，0:草稿 1:提交 2:审批通过 3审批不通过")
    private Integer checkStatus;

    @ApiModelProperty(value = "所属库区")
    private Long warehouseAreaId;

    @ApiModelProperty(value = "有无防火墙")
    private Boolean firewallStatus;

    @ApiModelProperty(value = "化学品仓库用途")
    private String purpose;

    @ApiModelProperty(value = "仓库管理员")
    private String manager;

    @ApiModelProperty(value = "联系方式")
    private String contact;

    @ApiModelProperty(value = "创建人")
    private Long cuserId;

    @ApiModelProperty(value = "创建时间")
    private Date ctime;

    @ApiModelProperty(value = "更新人")
    private Long uuserId;

    @ApiModelProperty(value = "更新时间")
    private Date utime;

    @ApiModelProperty(value = "是否删除 0：未删除1：已删除")
    private Boolean deleteStatus;

    @ApiModelProperty(value = "序号")
    private Integer sortId;

    @ApiModelProperty(value = "租户ID")
    private Long tenantId;


}
